package com.jiaxiaobang.majiang.majiang.core;

public enum TaskType {
    /**
     * 开门
     */
    OPEN_TASK(0,"开门"),
    /**
     * 关门
     */
    CLOSE_TASK(1, "关门"),

    /**
     * 30分钟语音
     */
    HALFHOUR_NOTICE_TASK(2, "30分钟语音"),

    /**
     * 5分钟语音
     */
    FIVEMINUTE_NOTICE_TASK(3, "5分钟语音"),

    /**
     * 结束
     */
    END_TASK(4, "结束"),

    /**
     * 开大门
     */
    OPEN_ENTRANCE_TASK(5, "开大门");

    private int type;
    private String desc;

    private TaskType(int type, String desc) {
        this.setType(type);
        this.setDesc(desc);
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
